package com.lzy.system.business.service;

import com.lzy.exception.BusException;
import com.lzy.system.business.dto.SysBusEntityAddDTO;
import com.lzy.system.business.dto.SysBusEntityUpdateDTO;
import com.lzy.system.business.entity.SysBusEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 存储表 服务类
 * </p>
 *
 * @author lcc
 * @since 2024-01-21
 */
public interface ISysBusEntityService extends IService<SysBusEntity> {
    /**
     * 添加存储模型
     * @param sysBusEntityAddDTO
     * @throws BusException
     */
    public void saveEntity(SysBusEntityAddDTO sysBusEntityAddDTO) throws BusException;

    /**
     * 修改存储模型
     * @param sysBusEntityAddDTO
     * @throws BusException
     */
    public void updateEntity(SysBusEntityUpdateDTO sysBusEntityAddDTO) throws BusException;

    /**
     * 删除存储模型
     * @param id
     * @throws BusException
     */
    public void deleteEntity(List<String> ids) throws BusException;
}
